package com.webwork.mood.record.dataobject;

public class LevelReason {

	/**
	 * 级别
	 */
	private Level level = Level.NULL;
	
	/**
	 * 理由
	 */
	private String reason;

	public Level getLevel() {
		return level;
	}

	public void setLevel(Level level) {
		this.level = level;
	}
	
	public void setLevel(String level) {
		this.level = Level.fromString(level);
	}

	public String getReason() {
		return reason;
	}

	public void setReason(String reason) {
		this.reason = reason;
	}
	
}
